﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ExamTest.aspx.cs" Inherits="SERS.ExamRoom.ExamTest" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="../js/ShowDiv.js" type="text/javascript"></script>
    <script src="../js/examroomnew.js" type="text/javascript"></script>
    <link href="../Styles/Site.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="css/base.css" />
    <link rel="stylesheet" type="text/css" href="css/rxt_report.css" />
    <link rel="stylesheet" type="text/css" href="css/com.css" />
    <script type="text/javascript">
        var addCount = 1;
        $(document).ready(function () {
            var hidExamRoomID = $("#hidExamRoomID").val();
            GetNewExam(hidExamRoomID, 1);
            $('#monikaochang').live("mousedown", function (e) {
                if (e.which == 3) {
                    var bln = confirm("确定要新增模拟题吗？")
                    if (bln == true) {
                        var hidExamMaxId = $("#hidExamMaxId").val();
                        if (addCount == 1) {
                            addCount = parseInt(hidExamMaxId);
                        }
                        addCount++;
                        GetNewExam(addCount, 1);
                        var kecheng1 = $("#kecheng1").html();
                        kecheng1 += "<dd name=\"moniti\" pid=\"" + addCount + "\" style=\"cursor: pointer;\" onclick=\"GetNewExam(" + addCount + ", 1);\">■ 模拟题" + addCount + "</dd>";
                        $("#kecheng1").html(kecheng1);
                    }
                }
            });

            $('[name=moniti]').live("mousedown", function (e) {
                if (e.which == 3) {
                    var bln = confirm("确定要消除该模拟题吗？")
                    if (bln == true) {
                        var pid = $(this).attr("pid");
                        DelNewExam(pid);
                    }
                }
            });
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="page_wrap">
        <div class="app">
            <div class="app_title">
                <div class="info">
                    <a href="#">
                        <img src="images/sers/logo.jpg" align="LOGO" /></a>
                </div>
            </div>
            <div class="app_content">
                <div class="report_nav">
                    <ul>
                        <li><a href="#">
                            <img src="images/sers/nav.jpg" /></a></li>
                        <li>&nbsp;&nbsp;</li>
                        <li><a href="#">
                            <img src="images/sers/nav.jpg" /></a></li>
                        <li>&nbsp;&nbsp;</li>
                        <li><a href="#">
                            <img src="images/sers/nav.jpg" /></a></li>
                        <li>&nbsp;&nbsp;</li>
                        <li><a href="#">
                            <img src="images/sers/nav.jpg" /></a></li>
                        <li>&nbsp;&nbsp;</li>
                        <li><a href="#">
                            <img src="images/sers/nav.jpg" /></a></li>
                        <li>&nbsp;&nbsp;</li>
                        <li><a href="#">
                            <img src="images/sers/nav.jpg" /></a></li>
                        <li>&nbsp;&nbsp;</li>
                        <li><a href="#">
                            <img src="images/sers/nav.jpg" /></a></li>
                        <li>&nbsp;&nbsp;</li>
                        <li><a href="#">
                            <img src="images/sers/nav.jpg" /></a></li>
                        <li>&nbsp;&nbsp;</li>
                    </ul>
                </div>
                <div class="clearok">
                </div>
                <div class="jrtj">
                    <div class="l">
                        <!------ 列表面板 begin ------>
                        <div class="panel_list">
                            <div class="panel">
                                <div class="panel_content">
                                    <!------ 列表 start ------>
                                    <div>
                                        <div class="module">
                                            <div class="module_content">
                                                <dl class="dllist">
                                                    <dd>
                                                        <dl>
                                                            <dt class="current">课程一</dt>
                                                            <dd>
                                                                <dl id="kecheng1" runat="server">
                                                                </dl>
                                                            </dd>
                                                            <dd>
                                                                <dl>
                                                                    <dt class="class_category class_category1"><a target="right">
                                                                        <img src="images/sers/class_nav_item_icon1.jpg" />真题练习</a></dt>
                                                                    <dd style="cursor: pointer;" onclick="GetNewExam(2009, 1);">
                                                                        ■ 2009年真题练习</dd>
                                                                    <dd style="cursor: pointer;" onclick="GetNewExam(2010, 1);">
                                                                        ■ 2010年真题练习</dd>
                                                                    <dd style="cursor: pointer;" onclick="GetNewExam(2011, 1);">
                                                                        ■ 2011年真题练习</dd>
                                                                    <dd style="cursor: pointer;" onclick="GetNewExam(2012, 1);">
                                                                        ■ 2012年真题练习</dd>
                                                                </dl>
                                                            </dd>
                                                        </dl>
                                                    </dd>
                                                    <dd>
                                                        <dl>
                                                            <dt>课程二</dt>
                                                        </dl>
                                                        <dl>
                                                            <dt>课程三</dt>
                                                        </dl>
                                                    </dd>
                                                </dl>
                                            </div>
                                        </div>
                                    </div>
                                    <!------ 列表 end ------>
                                </div>
                            </div>
                        </div>
                        <!------ 列表面板 end ------>
                    </div>
                    <div class="r">
                        <!------ 题目 begin ------>
                        <div class="panel panel_bg panel_bg_pb670 unit">
                            <div class="panel_title">
                                <div class="panel_title_txt" style="cursor: pointer;" onclick="CloseContentDiv(1);">
                                    题目&nbsp;<img src="images/sers/tool1.jpg" />&nbsp;<img src="images/sers/tool2.jpg" />&nbsp;<img
                                        src="images/sers/tool3.jpg" />&nbsp;<img src="images/sers/tool4.jpg" />&nbsp;<img
                                            src="images/sers/tool5.jpg" /></div>
                                <div class="right_date" id="titleid">
                                    第8题</div>
                            </div>
                            <div class="panel_content content_question">
                                <!-- question begin-->
                                <div class="dc1_base" id="question">
                                </div>
                                <!-- question end -->
                            </div>
                        </div>
                        <!------ 题目 end ------>
                        <!------ 内导航 begin ------>
                        <div class="panel unit inner_nav">
                            <div class="panel_title">
                                <div class="panel_title_txt">
                                    当前第 <span id="dangqiantihao">1</span> 题/已答 <span id="yidatishu"></span>题/共计 <span
                                        id="gongjitishu"></span>题 时间:<span id="danqianyongshi"></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img
                                            src="images/sers/pre.jpg" onclick="NextQuestion(-1);" style="cursor: pointer;" />&nbsp;<img
                                                src="images/sers/next.jpg" style="cursor: pointer;" onclick="NextQuestion(1);" />&nbsp;&nbsp;<input
                                                    onclick="AutoAnswer();" type="checkbox" />自动进入下一题
                                </div>
                                <div class="right_date" style="cursor: pointer;" onclick="SubmitAnswer();">
                                    <img src="images/sers/right_over.jpg" />交卷</div>
                            </div>
                        </div>
                        <!------ 内导航 end ------>
                        <!------ 答案 begin ------>
                        <div class="panel unit result">
                            <div class="panel_title">
                                <div class="panel_title_txt">
                                </div>
                                <div class="right_date" id="favorite">
                                    <img src="images/sers/collection.jpg" />已收藏</div>
                            </div>
                            <div class="panel_content content_question" id="answers">
                            </div>
                        </div>
                        <!------ 答案 end ------>
                        <!------ 题目列表 begin ------>
                        <div class="panel unit question_list">
                            <div class="panel_content content_question">
                                <!-- question begin-->
                                <div class="pagenav" id="titleNumber">
                                </div>
                                <!-- question end -->
                            </div>
                        </div>
                        <!------ 题目列表 end ------>
                        <!------ 操作 begin ------>
                        <div class="panel unit handler">
                            <div class="panel_content content_question">
                                <div class="search_bar_container">
                                    <div class="search_bar">
                                        <input type="text" class="text" id="txtSearch" /><input type="button" onclick="Search();"
                                            class="submit" />
                                    </div>
                                </div>
                                <div class="util">
                                    <img src="images/sers/collection_btn.jpg" style="cursor: pointer;" onclick="Favorite();" />&nbsp;&nbsp;
                                    <img src="images/sers/errr_over.jpg" style="cursor: pointer;" onclick="CloseContentDiv(2);" />
                                </div>
                                <div class=" clearok">
                                </div>
                            </div>
                        </div>
                        <!------ 操作 end ------>
                    </div>
                    <div class="clearok">
                    </div>
                </div>
                <div class="clearok">
                </div>
                <div class="app_bottom">
                    <div id="bot_links">
                        <ul>
                            合作媒体： 新浪 | 搜狐 | 网易 | 华军软件 | 天极网 | PCHOME | PCONLINE | TOMPDA | IT168 | 天空软件 | 计算机世界
                            | 手机中国 | 电玩巴士
                        </ul>
                    </div>
                    <div id="footer">
                        <ul>
                            <span style="font-size: 18px;" class="blue">客服热线：<span class="font_16">400-***-****</span>
                                QQ客服：<span class="font_16">400******</span> 销售热线：<span class="font_16">400-***-****</span>
                            </span>
                            <br>
                            公司地址：*********************** 邮编：************
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="login_panel
alert_info contentDiv" style="display: none;">
        <div class="panel_title">
            <a href="javascript:void(0);" class="panel_close" onclick="CloseContentDiv();">close</a></div>
        <div class="panel_content">
            <table width="100%" border="0" cellspacing="8" cellpadding="0" style="text-align: center;">
                <tr>
                    <td>
                        <asp:TextBox ID="txtNote" runat="server" TextMode="MultiLine" Style="width: 250px;
                            height: 100px;"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="control
submit">
                            <a href="javascript:void(0);" onclick="SaveNote();">保存</a></div>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div class="login_panel alert_info contentDiv" style="display: none;">
        <div class="panel_title">
            <a href="javascript:void(0);" class="panel_close" onclick="CloseContentDiv();">close</a></div>
        <div class="panel_content">
            <table width="100%" border="0" cellspacing="8" cellpadding="0" style="text-align: center;">
                <tr>
                    <td>
                        <asp:TextBox ID="txtError" runat="server" TextMode="MultiLine" Style="width: 250px;
                            height: 100px;"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="control
submit">
                            <a href="javascript:void(0);" onclick="SaveError();">保存</a></div>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div class="login_panel alert_info contentDiv" style="display: none;">
        <div class="panel_title">
            <a href="javascript:void(0);" class="panel_close" onclick="CloseContentDiv();">close</a></div>
        <div class="panel_content">
            <table width="100%" border="0" cellspacing="8" cellpadding="0" style="text-align: center;">
                <tr>
                    <td>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div id="fullscreem" style="display: none; background-color: #F1F1F1; filter: alpha(opacity=50);
        opacity: 0.5; width: 100%; height: auto; position: absolute; top: 0px; left: 0px;
        z-index: 5;">
    </div>
    <asp:HiddenField ID="hidExams" runat="server" Value="" />
    <!--当前题库ID-->
    <asp:HiddenField ID="hidExamRoomID" runat="server" Value="1" />
    <!--当前题ID-->
    <asp:HiddenField ID="hidQuestionID" runat="server" Value="1" />
    <!--所有模拟题库ID-->
    <asp:HiddenField ID="hidExamIdList" runat="server" Value="1" />
    <!--模拟题库最大ID-->
    <asp:HiddenField ID="hidExamMaxId" runat="server" Value="1" />
    <!--是否收藏-->
    <asp:HiddenField ID="hidFavorite" runat="server" Value="0" />
    <!--是否自动答题-->
    <asp:HiddenField ID="hidAutoAnswer" runat="server" Value="0" />
    <!--是否已提交-->
    <asp:HiddenField ID="hidIfSubmit" runat="server" Value="0" />
    </form>
</body>
</html>
